package com.bprogram.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bprogram.pojo.Video;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cai
 * @since 2023-11-21
 */
public interface VideoMapper extends BaseMapper<Video> {

    public String getTotalPlayTimesByUpId(long upId);
    public String getTotalLikeByUpId(long upId);

    public String getTotalUploadByUpId(long upId);

    public boolean updateByVideoId(Video video);

}
